package com.qdlc.p2p.biz.service;

import com.qdlc.p2p.dal.common.model.jpa.PageDataList;
import com.qdlc.p2p.dal.dto.AdditionalMovieTicket;
import com.qdlc.p2p.dal.model.AdditionalMovieTicketModel;

/**
 * 电影票活动
 *
 * @author wuaj
 * @version 1.1.0.0
 * @date 2016年03月17日
 */
public interface AdditionalMovieTicketService {

    /**
     * 添加一条记录
     */
    AdditionalMovieTicket save(AdditionalMovieTicket movieTicket);

    /**
     * 查询用户兑换过的电影票信息
     *
     * @param code
     * @return
     */
    AdditionalMovieTicket userTicketDetail(String code, long userId);

    /**
     * 后台查询所有记录
     *
     * @return
     */
    PageDataList<AdditionalMovieTicketModel> list(AdditionalMovieTicketModel model);

}
